package com.wk.warehouse.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 统计查询后台
 */
public class Statistics {

	// 商品Id
    private Integer productId;
    // 仓库ID
    private Integer storeId;
    // 仓库名称
    private String storeName;
    // 品牌ID
    private Integer brandId;
    // 品牌Name
    private String brandName;
    // 商品名称
    private String productName;
    // 商品编号
    private String productNum;
    // 库存
    private Integer productInvent;
    // 商品类型ID
    private Integer typeId;
    // 商品类型名称
    private String typeName;
    // 供应商ID
    private Integer supplyId;
    // 供应商名称
    private String supplyName;
    // 产地ID
    private Integer placeId;
    // 产地名称
    private String placeName;
    // 单位ID
    private Integer unitId;
    // 单位名称
    private String unitName;
    // 上下架状态
    private String upDownState;
    // 创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    // 售价
    private BigDecimal salePrice;
    // 损耗比
    private BigDecimal getLossNum;
    // 销售比
    private BigDecimal getMarketRatio;
  	// 采购id
	private Integer buyId;
    // 预计购买数量
    private Integer buyNum;
    // 实际购买数量
    private Integer factBuyNum;
    // 采购时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buyTime;
    // 采购人
    private String buyUser;
    // 采购人电话
    private String phone;
    // 是否生成入库单
    private String isIn;
    // 搜索开始时间
    private String startTime;
    // 搜索结束时间
    private String endTime;
	// 仓库的总库存
	private Integer totalInvent;

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductNum() {
		return productNum;
	}

	public void setProductNum(String productNum) {
		this.productNum = productNum;
	}

	public Integer getProductInvent() {
		return productInvent;
	}

	public void setProductInvent(Integer productInvent) {
		this.productInvent = productInvent;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getSupplyId() {
		return supplyId;
	}

	public void setSupplyId(Integer supplyId) {
		this.supplyId = supplyId;
	}

	public String getSupplyName() {
		return supplyName;
	}

	public void setSupplyName(String supplyName) {
		this.supplyName = supplyName;
	}

	public Integer getPlaceId() {
		return placeId;
	}

	public void setPlaceId(Integer placeId) {
		this.placeId = placeId;
	}

	public String getPlaceName() {
		return placeName;
	}

	public void setPlaceName(String placeName) {
		this.placeName = placeName;
	}

	public Integer getUnitId() {
		return unitId;
	}

	public void setUnitId(Integer unitId) {
		this.unitId = unitId;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getUpDownState() {
		return upDownState;
	}

	public void setUpDownState(String upDownState) {
		this.upDownState = upDownState;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getSalePrice() {
		return salePrice;
	}

	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}

	public BigDecimal getGetLossNum() {
		return getLossNum;
	}

	public void setGetLossNum(BigDecimal getLossNum) {
		this.getLossNum = getLossNum;
	}

	public BigDecimal getGetMarketRatio() {
		return getMarketRatio;
	}

	public void setGetMarketRatio(BigDecimal getMarketRatio) {
		this.getMarketRatio = getMarketRatio;
	}

	public Integer getBuyId() {
		return buyId;
	}

	public void setBuyId(Integer buyId) {
		this.buyId = buyId;
	}

	public Integer getBuyNum() {
		return buyNum;
	}

	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}

	public Integer getFactBuyNum() {
		return factBuyNum;
	}

	public void setFactBuyNum(Integer factBuyNum) {
		this.factBuyNum = factBuyNum;
	}

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getBuyUser() {
		return buyUser;
	}

	public void setBuyUser(String buyUser) {
		this.buyUser = buyUser;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getIsIn() {
		return isIn;
	}

	public void setIsIn(String isIn) {
		this.isIn = isIn;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getTotalInvent() {
		return totalInvent;
	}

	public void setTotalInvent(Integer totalInvent) {
		this.totalInvent = totalInvent;
	}

	@Override
	public String toString() {
		return "Statistics{" +
				"productId=" + productId +
				", storeId=" + storeId +
				", storeName='" + storeName + '\'' +
				", brandId=" + brandId +
				", brandName='" + brandName + '\'' +
				", productName='" + productName + '\'' +
				", productNum='" + productNum + '\'' +
				", productInvent=" + productInvent +
				", typeId=" + typeId +
				", typeName='" + typeName + '\'' +
				", supplyId=" + supplyId +
				", supplyName='" + supplyName + '\'' +
				", placeId=" + placeId +
				", placeName='" + placeName + '\'' +
				", unitId=" + unitId +
				", unitName='" + unitName + '\'' +
				", upDownState='" + upDownState + '\'' +
				", createTime=" + createTime +
				", salePrice=" + salePrice +
				", getLossNum=" + getLossNum +
				", getMarketRatio=" + getMarketRatio +
				", buyId=" + buyId +
				", buyNum=" + buyNum +
				", factBuyNum=" + factBuyNum +
				", buyTime=" + buyTime +
				", buyUser='" + buyUser + '\'' +
				", phone='" + phone + '\'' +
				", isIn='" + isIn + '\'' +
				", startTime='" + startTime + '\'' +
				", endTime='" + endTime + '\'' +
				'}';
	}
}
